<?php

class Controller_Terminallevel extends FLEA_Controller_Action
{
    var $_tb_terminal_level;
	/**
     * 
     *
     * @return Controller_Login
     */
    function Controller_Terminallevel() {
        
		$this->_tb_terminal_level =& FLEA::getSingleton('Table_TerminalLevel');

    }
    /**
     *
     *
     */
    function actionToJSON() {
		FLEA::loadClass('FLEA_Ajax');
        
		$arr=$this->_tb_terminal_level->findAll();

		echo json_encode($arr);
			
    }    
  
}    
?>